﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class SystemUserBase
    {
        #region 内部字段
        private string systemuserid = "{00000000-0000-0000-0000-000000000000}";
        private string businessunitid = "{00000000-0000-0000-0000-000000000000}";
        private string businessunitname = "";
        private string username = "";
        private string password = "";
        private string personalemail = "";
        private string internalemail = "";
        private string internalEmailPassword = "";
        private string fullname = "";
        private string nickname = "";
        private string salutation = "";
        private string mobilephone = "";
        private string businessphone = "";
        private string homephone = "";
        private string fax = "";
        private string windowsliveid = "";
        private string rolesid = "";
        private bool isapproved;
        private bool islockedout;
        private string comment = "";
        private string createdby = "{00000000-0000-0000-0000-000000000000}";
        private DateTime createdon = DateTime.Now;
        private string modifiedby = "{00000000-0000-0000-0000-000000000000}";
        private DateTime modifiedon = DateTime.Now;
        #endregion

        public SystemUserBase()
        { }

        #region 公共属性
        /// <summary>
        /// 系统用户ID
        /// </summary>
        public string SystemUserId
        {
            set { systemuserid = value; }
            get { return systemuserid; }
        }
        /// <summary>
        /// 业务部门ID
        /// </summary>
        public string BusinessUnitId
        {
            set { businessunitid = value; }
            get { return businessunitid; }
        }
        /// <summary>
        /// 业务部门名称
        /// </summary>
        public string BusinessUnitName
        {
            set { businessunitname = value; }
            get { return businessunitname; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Username
        {
            set { username = value; }
            get { return username; }
        }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string Password
        {
            set { password = value; }
            get { return password; }
        }
        /// <summary>
        /// 个人邮箱
        /// </summary>
        public string PersonalEmail
        {
            set { personalemail = value; }
            get { return personalemail; }
        }

        /// <summary>
        /// 工作邮箱
        /// </summary>
        public string InternalEmail
        {
            set { internalemail = value; }
            get { return internalemail; }
        }
        /// <summary>
        /// 工作邮箱密码
        /// </summary>
        public string InternalEmailPassword
        {
            set { internalEmailPassword = value; }
            get { return internalEmailPassword; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string FullName
        {
            set { fullname = value; }
            get { return fullname; }
        }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName
        {
            set { nickname = value; }
            get { return nickname; }
        }
        /// <summary>
        /// 职务
        /// </summary>
        public string Salutation
        {
            set { salutation = value; }
            get { return salutation; }
        }
        /// <summary>
        /// 手机
        /// </summary>
        public string MobilePhone
        {
            set { mobilephone = value; }
            get { return mobilephone; }
        }
        /// <summary>
        /// 办公电话
        /// </summary>
        public string BusinessPhone
        {
            set { businessphone = value; }
            get { return businessphone; }
        }
        /// <summary>
        /// 家庭电话
        /// </summary>
        public string Homephone
        {
            set { homephone = value; }
            get { return homephone; }
        }
        /// <summary>
        /// 传真
        /// </summary>
        public string Fax
        {
            set { fax = value; }
            get { return fax; }
        }
        /// <summary>
        /// MSN
        /// </summary>
        public string WindowsLiveID
        {
            set { windowsliveid = value; }
            get { return windowsliveid; }
        }
        /// <summary>
        /// 审核
        /// </summary>
        public bool IsApproved
        {
            set { isapproved = value; }
            get { return isapproved; }
        }
        /// <summary>
        /// 锁定
        /// </summary>
        public bool IsLockedOut
        {
            set { islockedout = value; }
            get { return islockedout; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Comment
        {
            set { comment = value; }
            get { return comment; }
        }
        /// <summary>
        /// 录入人
        /// </summary>
        public string CreatedBy
        {
            set { createdby = value; }
            get { return createdby; }
        }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime CreatedOn
        {
            set { createdon = value; }
            get { return createdon; }
        }
        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifiedBy
        {
            set { modifiedby = value; }
            get { return modifiedby; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifiedOn
        {
            set { modifiedon = value; }
            get { return modifiedon; }
        }
        /// <summary>
        /// 角色Id
        /// </summary>
        public string RolesId
        {
            set { rolesid = value; }
            get { return rolesid; }
        }
        #endregion
    }
}
